<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>文字处理</title>
    <style>
        p {
            /*谷歌默认的字号16px*/
            font-size: 30px;
            /*字体,可以写多个,从前往后加载*/
            font-family: "华文新魏", "宋体", "微软雅黑";
        }

        a {
            text-decoration: none; /*去掉所有修饰线*/
            text-decoration: underline; /*下划线*/
            text-decoration: line-through; /*删除线*/
            text-decoration: overline; /*顶线*/
        }

        div {
            width: 200px;
            height: 200px;
            border: 5px solid #f00;
            text-align: center;
            line-height: 200px;
        }

        span {
            font-weight: bold; /*加粗*/
            font-weight: lighter; /*细体*/
            font-weight: normal; /*正常体*/
            font-style: italic; /*斜体*/
        }

        h4 {
            text-shadow: 5px 5px 5px red;
        }
    </style>
</head>
<body>
<h4>我是标题</h4>
<p>我是测试文字</p>
<a href="#">超链接</a>
<div>我是div</div>
<span>我是span</span>
</body>
</html>